#ifndef FILE_EDIT_H
#define FILE_EDIT_H

#include <afxwin.h>
#include <afxdlgs.h>
//#include <sstream>

class CFileEdit : public CEdit
{
	const char *m_fileDialogFilter;
	const char *m_fileDialogExt;
	CString m_strFilePathName;
	int m_iSearchOffset;
public:
	BOOL SaveChanges();
	CFileEdit(const char *fileDialogFilter, const char *fileDialogExt);
	void NewFile();
	void OpenFile();
	BOOL SaveFileAs();
	BOOL SaveFile();
	void Search(CString strFindString);
//	std::istream getistream() const;
};

#endif
